package test;

import com.esatenet.demo.jna.api.EstFileApi;
import com.esatenet.demo.jna.api.EstFileFactory;

public class EncryptionWindowTest {
	
	public static void main(String[] args) {
		String pFileName="‪D:\\TestProject\\test1.txt";
		EstFileApi  estFileApi =EstFileFactory.getEstFileInstance();
		int resultCode = estFileApi.EstInitKeys();
		System.out.println("========EstInitKeys==========返回code========="+resultCode);
		resultCode =estFileApi.EstDecryptLockFile(pFileName);
		// resultCode =estFileApi.EstIsEncryptLockFile(pFileName);
		System.out.println("========EstEncryptLockFile==========返回code========="+resultCode);
		
		
		
		
	}
	
	

}
